import React from 'react';
import { Upload } from 'antd';
import { UploadProps, UploadState } from 'antd/lib/upload/interface';
import './HYUpload.less';

export interface HYUploadInputProps extends UploadProps {}

class HYUpload extends React.Component<HYUploadInputProps, UploadState> {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <Upload className={'hy-upload'} {...this.props}>
        <span>+上传附件</span>
      </Upload>
    );
  }
}

export default HYUpload;
